import 'package:massagist/generated/json/base/json_field.dart';
import 'package:massagist/generated/json/user_info_model_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class UserInfoModelEntity {
	late int code;
	late String msg;
	late UserInfoModelData data;

	UserInfoModelEntity();

	factory UserInfoModelEntity.fromJson(Map<String, dynamic> json) => $UserInfoModelEntityFromJson(json);

	Map<String, dynamic> toJson() => $UserInfoModelEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class UserInfoModelData {
	late String key;
	late String kefu;
	late int tab;

	UserInfoModelData();

	factory UserInfoModelData.fromJson(Map<String, dynamic> json) => $UserInfoModelDataFromJson(json);

	Map<String, dynamic> toJson() => $UserInfoModelDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}